//
//  EventLogDetailsViewController.h
//  Seizure
//
//  Created by student on 3/29/12.
//  Copyright (c) 2012 __MyCompanyName__. All rights reserved.
//

#import <UIKit/UIKit.h>
#import <CoreLocation/CoreLocation.h>
#import <MapKit/MKMapView.h>
#import <MapKit/MKCircle.h>

@class EventLog;
@class EventLocationAnnotation;

@interface EventLogDetailsViewController : UIViewController <MKMapViewDelegate>
{
    UILabel *startDate;
    UILabel *endDate;
    UILabel *duration;
    UILabel *location;
    MKMapView *mapView;
    EventLog *eventDescribed;
   
}

@property (nonatomic, retain) IBOutlet UILabel *startDate;
@property (nonatomic, retain) IBOutlet UILabel *endDate;
@property (nonatomic, retain) IBOutlet UILabel *duration;
@property (nonatomic, retain) IBOutlet UILabel *location;
@property (nonatomic, retain) IBOutlet MKMapView *mapView;

@property (nonatomic, retain) EventLog *eventDescribed;

- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil forEvent:(EventLog *)event;
- (NSString *)formatDuration:(NSTimeInterval)secondsElapsed;
- (NSString *)formatLocation:(CLLocation *)loc;

@end
